﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BuyWithoutLoseMoney.Core.Models
{
    public class Permission
    {
        public int Id { get; set; }//编号
        public string ControllerName { get; set; }//控制器名
        public string ActionName { get; set; }//动作方法名 
        public int PermissionTypeId { get; set; }//权限分类
        public string Ext1 { get; set; }//备用列
        public virtual PermissionType PermissionType { get; set; }
        public virtual ICollection<PermissionRole> RolePermission { get; set; }
        public virtual ICollection<Role> Roles { get; set; }
    }
}
